package com.KKB.service;

import com.KKB.bean.Role;

import java.util.List;

public interface RoleService {
    public List<Role> getRoleList(int pageIndex,int pageSize);

    public int total();

    public int insertRole(String rolename,String state,String[] ids);

    public List<Role> getList();

    public int update(Role role, String[] menuIds);

    public Role findById(int rid);

    public int deleteById(int roleId);
}
